package program02;

import jdk.swing.interop.SwingInterOpUtils;

/**
 * @version 1.0
 * @since:
 * @ClassName:ChessAction
 * @author: Li Jiahui
 * @date: 2021-01-09 16:32
 */
public class ChessAction extends DrawChessBoard{
    static final int CHESSBLOCK = 16;
   /* Victory victory = new Victory();*/
    void redrawChessBoard() {
        System.out.print("\t");
        for (int i = 0 ; i < CHESSBLOCK; i++)
        {
            System.out.print(Integer.toHexString(i) + "\t");
        }
        System.out.println("");
        for (int i = 0 ; i < CHESSBLOCK; i++){
            System.out.print(Integer.toHexString(i) + "\t");
            for (int j = 0 ; j < CHESSBLOCK; j++){
                System.out.print (DrawChessBoard.chessBoard[i][j] + "\t");
            }
            System.out.println(" ");
        }
    }
}
